package com.yunji.base.convert;

import com.yunji.base.domain.FeedbackDO;
import com.yunji.common.model.dto.FeedbackDTO;
import com.yunji.common.utils.bean.BeanUtils;


/**
 * @Project: yunji-coffee
 * @Package: com.yunji.message.engine
 * @Title: FeedbackConvert
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-10-30 16:25:24      V1.0        HuaAo       新建类
 */

public class FeedbackConvert {

    public static FeedbackDO convertDTO(FeedbackDTO dto) {
        FeedbackDO feedback = new FeedbackDO();
        BeanUtils.clone(dto, feedback);
        return feedback;
    }

}